package com.cloudkinto.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cloudkinto.entity.OrderInputDo;
import com.cloudkinto.entity.OrderInputStatisticsEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author 张永远
 * @since 2020-06-08
 */
@Mapper
public interface OrderInputDao extends BaseMapper<OrderInputDo> {
    List<OrderInputStatisticsEntity> selectInputCountByShopId(@Param("map") Map map);

    List<OrderInputStatisticsEntity> selectInputCountByCompanyId(@Param("map") Map map);

    List<Long> getOrderIdByBillId(Long billId);

}
